package com.learn

object lesson09 {
  case class Record(var start:String,var end:String){

  }

  def main(args: Array[String]): Unit = {
    val r=Record("20211227","20211231")
    println(r.start,r.end)
    println("-"*100)
    r.end="20220101"
    println(r)
    println(r.start,r.end)
  }
}
